package cc.lzmsh.pojo.dto;

import jakarta.validation.constraints.Pattern;
import lombok.Data;

/**
 * Author:   msh
 * Date:     2024/9/25 下午2:37
 * Description:
 */

@Data
public class RegisterDTO {
    @Pattern(regexp = "^\\${5,16}$")
    private String username;
    @Pattern(regexp = "^\\${5,16}$")
    private String password;
    private String nickname;
    private String email;
    private String confirmPassword;
}
